﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WebStore.Infrastructure.Service.Interface
{
    public interface IAdminService
    {
        bool RealizeOrder(int orderId,int adminId);
        bool RejectOrder(int orderId,int adminId);
        bool EditProduct(int ?id,string name, string description, decimal price, int categoryId,byte [] photo,out string errorMessage);
        bool DeleteProduct(int id);
    }
}
